package com.design.patterns.abstractfactory;


/**
 * 发送短信功能的工厂
 * @author wujiwen
 * @date 2017-07-23
 */
public class SendSmsFactory implements Provider {

    @Override
    public Sender produce() {
        return new SmsSender();
    }
    //相当于
    //Sender send = new SmsSender();

}
